<?php
if($strStyleSheet == TRUE)
	echo "
	<table class='Normal' border='0' align='left' width='450'>";
?>
	    <tr align='left'>
	        <td align='left' colspan='3'>
	            <H2>Country Search Result</H2>
	        </td>
	    </tr>

		<?php
		if(!$myrow[0]=="")
		{
			do {
			
				echo "
			     <tr bgcolor='".switch_background($boBG)."'>
			         <td>
			             <a href='" . ScreenURL("DisplayCountry",array('intCountryID'=>$myrow[0]) ) . "' target='_blank'>
			             <img src='./images".SITE_SUFFIX."/update.gif' border='0' alt='Update' align='middle'></a>
			             
			         </td>

					<td>
						".$myrow["Country"]."
					</td>

			         <td align='right'>
			              <a href=\"" . ScreenURL("ListCountry",array('intCountryID'=>$myrow[0],'ACTION'=>"qryDeleteCountry") ) . "\"
			                 onclick=\"return confirmLink(this, 'Delete ');\">
			              <img src='./images".SITE_SUFFIX."/delete.gif' border='0' alt='Delete' align='middle'></a>
			         </td>

			     </tr>";
			
			     $boBG = -1 - $boBG;
			     } while ($myrow = mysql_fetch_array($result));
		}else{
				echo "
			     <tr class='MandatoryRed'><br/>
			         <td colspan='3'>
			             Your Search Has Returned No Results.
			         </td>
			     </tr>";
		}

if($strStyleSheet == TRUE)
	echo "
	</table>";
?>
